<?php
namespace Transform;

class OrderGoodsTransform extends Transform
{
    public function listview()
    {
        return [
            'allows' => ['title', 'photo', 'price', 'total_price', 'quantity', 'cate_id', 'goods_id','comments_count','selectedSpecs', 'selectedSku','express_region'],
        ];
    }

    public function detail()
    {
        return [
            'allows' => ['title', 'photo', 'price', 'total_price', 'quantity', 'cate_id', 'details', 'goods_id'],
        ];
    }


}
